package com.bootdo.cm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.cm.dao.SmsAcceptMsgDao;
import com.bootdo.cm.domain.SmsAcceptMsgDO;
import com.bootdo.cm.service.SmsAcceptMsgService;



@Service
public class SmsAcceptMsgServiceImpl implements SmsAcceptMsgService {
	@Autowired
	private SmsAcceptMsgDao smsAcceptMsgDao;
	
	@Override
	public SmsAcceptMsgDO get(Long id){
		return smsAcceptMsgDao.get(id);
	}
	
	@Override
	public List<SmsAcceptMsgDO> list(Map<String, Object> map){
		return smsAcceptMsgDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return smsAcceptMsgDao.count(map);
	}
	
	@Override
	public int save(SmsAcceptMsgDO smsAcceptMsg){
		return smsAcceptMsgDao.save(smsAcceptMsg);
	}
	
	@Override
	public int update(SmsAcceptMsgDO smsAcceptMsg){
		return smsAcceptMsgDao.update(smsAcceptMsg);
	}
	
	@Override
	public int remove(Long id){
		return smsAcceptMsgDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return smsAcceptMsgDao.batchRemove(ids);
	}
	
}
